/**
 * 移除数组元素
 * @param arrays
 * @param index
 * @returns {[]}
 */
export function ArrayRemove(arrays, index) {
    let newArr = []
    arrays.forEach((item, key) => {
        if (index !== key) {
            newArr.push(item)
        }
    })
    return newArr
}